{include file="/public/top" /}


<div class="header"> <a style="line-height: 40px; text-align: center;color: #fff;font-size: 18px;" href="{:url('admin/index')}" target="_top" class="logo" title="后台首页"> {$config.title}</a>
  <div class="navbar">
    <div class="topNav flt">
      <ul>
      	
		
		<!-- <li><a href="{:url('index/left')}" class="change_menu" rel="736" target="admin_left">支付设置</a></li> -->
		<li><a href="{:url('index/left',array('id'=>'user'))}" class="change_menu current" rel="4" target="admin_left">会员管理</a></li>
		<li><a href="{:url('index/left',array('id'=>'basiczd'))}" class="change_menu" rel="2" target="admin_left">基本设置</a></li>
		<li><a href="{:url('index/left',array('id'=>'project'))}" class="change_menu" rel="5" target="admin_left">项目管理</a></li>
	<!-- 	<li><a href="{:url('index/left',array('id'=>'module'))}" class="change_menu" rel="7" target="admin_left">功能模块</a></li> -->
		<li><a href="{:url('index/left',array('id'=>'operate'))}" class="change_menu" rel="8" target="admin_left">运营管理</a></li>
        
        <li><a href="{:url('user/czlog')}" class="change_menu" rel="8" id="payajaxcc" target="main_frm" style="display:none;"></a></li>
        <li><a href="{:url('user/txlog')}" class="change_menu" rel="8" id="orderajaxcc" target="main_frm" style="display:none;"></a></li>
        
     </ul>
    </div>
    <div class="topUsed frt">
      <i class="user"></i><span><b>{$admin.username}</b>,欢迎您!</span><a target="_blank" class="indexIoc" href="{:url('/index/index')}" title="前台首页"></a><a target="_top" class="quitIco" href="{:url('index/logout')}" title="退出"></a>
    </div>
  </div>
</div>

<script>
	$(document).ready(function (e) {
		$(".change_menu").click(function () {
			var rel = $(this).attr('rel');
			$(".change_menu").removeClass('current');
			$(this).addClass('current');
			$(".sidebar_menu .active").each(function (a) {
				if ($(this).attr('rel') == rel) {
					$(this).show();
				} else {
					$(this).hide();
				}
			});
		});
		
		$(".topNav li").eq(0).find('.change_menu').click();
	});
</script>
<font id="top_compay_playSound"></font>
<script type="text/javascript">
    
      //播放提示音
      function playSound(name,str){  
        $("#"+name).html('<embed width="0" height="0"  src="__admin__/'+str+'" autostart="true" loop="false">');
      }
  //修改状态
      function playdd(name,str){  
        $("#"+name).css("display",str);
         
      }

      function total() {
    	  var postdata = "&id=1";
    	  var posturl = "/admin/index/sounds";
    		$.post(posturl,postdata,function(e){
    			if(e.resdata){
    				playSound('top_compay_playSound','msg.mp3');
                }
              if(e.pay>0){
               
                 $("#payajaxcc").css("display","block");
                $("#payajaxcc").html("您有"+e.pay+"条 充值未处理！");
              }else{
               $("#payajaxcc").css("display","none");
              }
              if(e.order>0){
                $("#orderajaxcc").css("display","block");
                $("#orderajaxcc").html("您有"+e.order+"条 提现未处理！");
              }else{
               $("#orderajaxcc").css("display","none");
              }
    			

    		})      
      }
      total();
      setInterval("total()",8000);
      </script>

<div id="_my97DP" style="position: absolute; top: -1970px; left: -1970px;"></div></body></html>